Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge pull request CIRC-2184 disable floating collections by default #1534

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nielserik
Copy link
Contributor

CIRC-2184 Disable floating collections by default

Purpose

Disable floating collections by default in order to prevent circulation administrators from inadvertently applying it. For details about the float feature itself, see UXPROD-816.

Approach

The feature must now be enabled by a boolean environment variable ("ENABLE_FLOATING_COLLECTIONS"). The environment variable is checked by the check-in-by-bar-code process, which will skip any floating related functionality if the variable is unset or set to something else than true.

The module's existing "Environment" class is modified to support mocking of environment variables (which are otherwise read-only), in order to be able to test the enabling/disabling of the feature in unit tests.

CIRC-2205: Remove redundant permission set declarations
 - Jenkins's build of previous commit aborted in Github flow due to timeout in api.loans.CheckOutByBarcodeTests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants